#ifndef SCORE_HPP_INCLUDED
#define SCORE_HPP_INCLUDED

#include <SFML/Graphics.hpp>

#include "../game_state.hpp"
#include "../singleton.hpp"

class Score: public GameState, public Singleton<Score> {
	friend class Singleton<Score>;
	public:
		void init(Engine *engine);
		void cleanup();
        
		void pause();
		void resume();
        
		void processEvent(Engine *engine, PlayerEvent& event);
		void update(Engine *engine);
		void draw(Engine *engine);
        
        std::map<int, sf::String> playerInfos;
        
        sf::Music scoreMusic;
	protected:
		Score();
		~Score();
};

#endif // SCORE_HPP_INCLUDED
